#include <stdio.h>
void main()
{
    int i;
    float total=0.0;
    for(i=1;i<=5;i++)
        total =(total+1000.)/(1+0.0063*12);
    printf("He must save %.2f atfirst.\n",total);
}